# == Schema Information
# Schema version: 37
#
# Table name: forms
#
#  id           :integer(11)   not null, primary key
#  name         :string(255)   
#  description  :text          
#  created_at   :datetime      
#  updated_at   :datetime      
#  owner_id     :integer(11)   
#  seeker_form  :text          
#  manager_view :text          
#  judge_view   :text          
#  admin_view   :text          
#

class Form < ActiveRecord::Base
  has_many :cycles 
  belongs_to :owner  
  validates_presence_of :name,  :owner, :seeker_form, :manager_view, :judge_view, :admin_view                                                      
end
